import request from '@/utils/request'
// 列表
export function getList(data, page) {
    return request({
        url: '/Operations_card_transact_renewal/card_renewal',
        method: 'post',
        data: data
    })
}

export function getBrandList(data) {
    return request({
        url: '/General/get_brand_second',
        method: 'post',
        data: data
    })
}
// 获取门店列表
export function getStoreList(data) {
    return request({
        url: '/General/get_store',
        method: 'post',
        data: data
    })
}
export function savePackage(data) {
    return request({
        url: '/Operations_card_transact_renewal/add_card_renewal',
        method: 'post',
        data: data
    })
}
export function enable_card_renewal(data) {
    return request({
        url: '/Operations_card_transact_renewal/enable_card_renewal',
        method: 'post',
        data: data
    })
}
export function save_card_renewal(data) {
    return request({
        url: '/Operations_card_transact_renewal/save_card_renewal',
        method: 'post',
        data: data
    })
}
export function del(data) {
    return request({
        url: '/Operations_card_transact_renewal/del_card_renewal',
        method: 'post',
        data: data
    })
}
export function saveStore(data) {
    return request({
        url: '/Operations_card_transact_renewal/mapping_store_config',
        method: 'post',
        data: data
    })
}